package com.tianya.domain.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class MessageSendDTO {
    @NotBlank(message = "消息标题不能为空")
    private String title;

    @NotBlank(message = "消息内容不能为空")
    private String content;

    @NotNull(message = "接收者ID不能为空")
    private Long receiverId;

    @NotNull(message = "回复消息ID不能为空")
    private Long replyToId;
}